package com.aynu.admin.service.base;

import com.aynu.admin.domain.CommonResponse;
import com.aynu.admin.domain.po.TAccount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-26
 */
public interface ITAccountService extends IService<TAccount> {
    CommonResponse<Object> saveAccount(String userPrincipal, TAccount account);
    CommonResponse<Object> modifyAccount(TAccount account);
    CommonResponse<Object> delAccount(String id);
    CommonResponse<List<TAccount>> getOnline();
    CommonResponse<Object> offline(String accountId);
}
